//
//  AppDelegate.m
//  GasBusiness
//
//  Created by zfc on 2021/7/30.
//

#import "AppDelegate.h"
#import "BaseTabBarVC.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    self.window = [[UIWindow alloc] init];
    self.window.backgroundColor = WhiteColor;
    self.window.frame = [UIScreen mainScreen].bounds;
    
    // 强制关闭暗黑模式
        #if defined(__IPHONE_13_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_13_0
        if(@available(iOS 13.0,*)){
        self.window.overrideUserInterfaceStyle = UIUserInterfaceStyleLight;
        }
        #endif
    
    BaseTabBarVC *tabVc = [[BaseTabBarVC alloc] init];
    self.window.rootViewController = tabVc;
    [self.window makeKeyAndVisible];
    [NSThread sleepForTimeInterval:2];

    [self.window makeKeyAndVisible];

    return YES;
}




@end
